package com.blb.community_admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.community_admin.entity.ZyRepair;
import com.blb.community_admin.entity.vo.RepairVO;
import com.blb.community_admin.entity.vo.ZyRepairVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;
import java.util.List;

@Repository
public interface ZyRepairMapper extends BaseMapper<ZyRepair> {

    List<ZyRepair> selectZyRepairList(@Param("zyRepairVO") RepairVO zyRepairVO, @Param("nowPage") int nowPage, @Param("pageSize") int pageSize);

    List<ZyRepair> selectRepairAll();

    List<ZyRepair> selectRepairByIds(ArrayList<String> repairIds);

    IPage<ZyRepairVO> selectRepairs(IPage<ZyRepairVO> page,String repairState,String ownerRealName,String ownerPhoneNumber,String communityId);

}
